package com.waitingresult.common.base.enums;

/**
 * All right reserved,Designed By WangShuai
 *
 * @author : WangShuai
 * @version : V1.0
 * @ClassName : BaseEnums
 * @Description :
 * @date : 2021/9/12 15:24
 */
public class BaseEnums {

    public enum SexEnum {

        MAN(1, "男"),
        WOMAN(2, "女"),
        UNKNOWN(3, "未知");
        private Integer key;
        private String value;

        SexEnum(Integer key, String value) {
            this.key = key;
            this.value = value;
        }

        public Integer getKey() {
            return key;
        }

        public String getValue() {
            return value;
        }
    }

    /**
     * 用户类型
     */
    public enum OperatorType {
        /**
         * 其他
         */
        OTHER,
        /**
         * 后台用户
         */
        MANAGE,
        /**
         * 手机端
         */
        MOBILE
    }

}
